<template>
	<div class="vork-page">
		<work-pc v-if="devicePdMode === 'pc'" />
		<work-m v-if="devicePdMode === 'mp'" />
	</div>
</template>

<script>
import { mapState, mapGetters } from "vuex";
import WorkDetailM from "./workDetailM";
import WorkDetail from "./workDetail";

export default {
	components: {
		"work-pc": WorkDetail,
		"work-m": WorkDetailM
	},
	data() {
		return {};
	},
	computed: {
		...mapGetters(["devicePdMode"]),
		...mapState(["deviceWidth"])
	},
	methods: {}
};
</script>

<style lang="scss" scoped></style>